WindowCls SUB Action Clears the current window. Syntax WindowCls Remarks The WindowCls procedure is used whenever you want to erase the text contained in a window. WindowCls clears the current window using the window background color (not the text background color) defined when the window was first opened with WindowOpen. See Also. WindowColor, WindowOpen, WindowScroll Example See the DemoResize procedure in the code example UIDEMO.BAS for a specific implementation.